#ifndef CRSA32_H
#define CRSA32_H

#include "../include/type.h"

class CRsa32
{
    public:
        CRsa32();
        virtual ~CRsa32();
        void Calc();
    protected:
    private:
        ULONG GetRandNumber();
        ULONG GetPrimeNumber();
        void GetPrimeWithFN();
        bool isPrimeWithFN();
        ULONG ulP;
        ULONG ulQ;
        unsigned long long llN;
        unsigned long long llFN;
        unsigned long long llE;
};

#endif // CRSA32_H
